<template>
  <div class="total-wrapper">
      <span class="total-price">
          <slot></slot>
      </span>
      <span class="settle">
          <a>结算</a>
      </span>
  </div>
</template>

<script>
export default {
    name:'CartTotal' 
}
</script>

<style>
.total-wrapper { display: flex; margin: 0 10px; line-height: 30px; }
.total-wrapper .total-price { margin-left: 75%; flex-basis: 15%; text-align: right; }
.total-wrapper .settle { flex-basis: 10%; text-align: center;}
</style>